const express = require('express');
const { addFriend, getFriends, getRecentFriends } = require('../controllers/friendController');

const router = express.Router();

router.post('/:userId/friends', addFriend);
router.get('/:userId/friends', getFriends);
router.get('/:userId/recentFriends', getRecentFriends);

module.exports = router; 